<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<style>
		/* 常规操作 */
		* {
			padding: 0px;
			margin: 0px;
		}
		body {
			display: flex;
			align-items: center;
			align-content: center;
			justify-content: space-around;
			margin-top: 40px;
			background-color: #e9e9e9;
		}
		.container {
			width: 1500px;
			height: 900px;
			border: 1px solid black;
			transition: 5s;
			display: flex;
		}
		/* 自定义盒子大小样式 */
		.container .a1 {
			width: 300px;
			height: 300px;
			border: 1px solid black;
			transform: rotate(45deg);
		}
		.container .a2 {
			width: 200px;
			height: 200px;
			border: 1px solid black;
			transform: rotate(-25deg);
		}
		.container .a3 {
			width: 180px;
			height: 180px;
			border: 1px solid black;
			transform: rotate(30deg);
		}
		.container .a4 {
			width: 400px;
			height: 650px;
			border: 1px solid black;
			transform: rotate(2deg);
		}
		.container .a5 {
			width: 250px;
			height: 250px;
			border: 1px solid black;
			transform: rotate(-45deg);
		}
		.container .a6 {
			width: 350px;
			height: 350px;
			border: 1px solid black;
			transform: rotate(34deg);
		}
		.container .a7 {
			width: 150px;
			height: 150px;
			border: 1px solid black;
			transform: rotate(-5deg);
		}

		/* 定义盒子里面的内容样式 */
		.container > div {
			text-align: center;
			background-color: #ffffff;
		}
		.container > div > img {
			width: 90%;
			margin-top: 3%;
		}
	</style>
	<body>
		<div class="container">
			<div class="a1">
				<img src="./a1.jpeg" alt="" />
				<text>Hello World</text>
			</div>
			<div class="a2">
				<img src="./a2.jpeg" alt="" />
				<text>Hello World</text>
			</div>
			<div class="a3">
				<img src="./a3.jpeg" alt="" />
				<text>Hello World</text>
			</div>
			<div class="a4">
				<img src="./a4.jpeg" alt="" />
				<text>Hello World</text>
			</div>
			<div class="a5">
				<img src="./a5.jpeg" alt="" />
				<text>Hello World</text>
			</div>
			<div class="a6">
				<img src="./a6.jpeg" alt="" />
				<text>Hello World</text>
			</div>
			<div class="a7">
				<img src="./a7.jpeg" alt="" />
				<text>Hello World</text>
			</div>
		</div>
	</body>
</html>
